Time is running out for oil producing nations to reset their economies as the world transitions to green technology.